Genotype-guided dosing algorithm